// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-12-28

#ifndef __UI_ATTRIBITEM_H_SERVER_SVR_MAIN__
#define __UI_ATTRIBITEM_H_SERVER_SVR_MAIN__

#pragma once

#include <common/svr_base/ui_attribview.h>

namespace JoyServer
{
class CJoyMainRoom;
}

namespace JoyServerAttrib
{


class Attrib_Room : public CJoyAttribViewItem
{
protected:
    CStringW m_roomName;
    CStringW m_gameName;
    JoyServer::CJoyMainRoom*    m_room;
public:
    Attrib_Room();
    virtual void UpdateAttrib(CJoyServer* pServer);

    virtual void Load(JoyServer::CJoyMainRoom* pRoom);
};



} // namespace JoyServerAttrib

#endif  // __UI_ATTRIBITEM_H_SERVER_SVR_MAIN__